package com.guomao.filedemos;

import java.io.File;

public class FileDemoE {


    public static void main(String[] args) {

        File file = new File("D://s.txt");


        boolean flag = file.renameTo(new File("D://abc"));


    }
}
